package com.simtop.dao;

import com.simtop.pojo.experiment.ExperimentVo;
import com.simtop.pojo.experiment.ExperimentVoThree;
import com.simtop.pojo.experiment.ExperimentVoTwo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lvyongwei
 */
@Mapper
public interface ExperimentMapper {

    /**
     * 添加实验报告
     * @param experimentVoThree
     * @return
     */
    public boolean insert(ExperimentVoThree experimentVoThree);

    /**
     * 删除实验报告
     * @param ids
     * @return
     */
    public boolean delete(Long[] ids);

    /**
     * 查询内容
     * @param experimentVo
     * @return
     */
    public List<ExperimentVo> getAll(ExperimentVoThree experimentVo);

    /**
     * 查看步骤详情
     * @param id
     * @return
     */
    public ExperimentVoThree getContent(Long id);
}
